Methods, apparatuses, computer programs and computer-readable media for scalable image coding

ABSTRACT

For each image in a set of images, a representation of the image at a first level of quality is derived using a first representation of the image at a second, higher level of quality and is output for processing by a decoder. Configuration data is output for processing by the decoder to enable the decoder to detect whether or not the first representation of a given image in the set of images is to be reconstructed using residual data for the given image, the residual data: (i) being useable to reconstruct the first representation using a second representation of the image at the second level of quality, the second representation being based on the representation of the image at the first level of quality, and (ii) being derived based on the first representation and the second representation.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a continuation of U.S. patent applicationSer. No. 17/290,474, filed Apr. 30, 2021, which is a 371 US NationalStage Entry of PCT/GB2019/053069, filed Oct. 30, 2019, which claimspriority to UK Patent Application No. 1817784.0, filed Oct. 31, 2018,the entire disclosures of which are incorporated herein by reference.

TECHNICAL FIELD

This invention relates to methods, apparatuses, computer programs andcomputer-readable media. In particular, but not exclusively, thisinvention relates to methods, apparatuses, computer programs andcomputer-readable media for use in the processing of configurationinformation that relates to residual data useable to reconstruct arepresentation of an image at a relatively high level of quality.

BACKGROUND

Compression and decompression of signals is a consideration in manyknown systems. Many types of signal, for example video, may becompressed and encoded for transmission, for example over a datacommunications network. When such a signal is decoded, it may be desiredto increase a level of quality of the signal and/or recover as much ofthe information contained in the original signal as possible.

Some known systems exploit scalable encoding techniques. Scalableencoding involves encoding a signal along with information to allow thereconstruction of the signal at one or more different levels of quality,for example depending on the capabilities of the decoder and theavailable bandwidth.

There are several considerations relating to the reconstruction ofsignals in a scalable encoding system. One such consideration is theamount of information that is stored, used and/or transmitted. Theamount of information may vary, for example depending on the desiredlevel of quality of the reconstructed signal, the nature of theinformation that is used in the reconstruction, and/or how suchinformation is configured.

Another consideration is the ability of the decoder to process receivedinformation accurately and/or reliably. One factor that may affect thereliability of the decoder is the ability of the decoder to handleerrors and/or to handle received information that is unexpected,modified and/or unrecognised by the decoder. Another factor in theaccuracy and/or the reliability with which the decoder is able toperform reconstruction relates to providing the decoder with up-to-dateinformation indicating how the signal is to be reconstructed.

Another consideration is the ability of the encoder and/or the decoderto process information efficiently. The efficiency with which theencoder and/or the decoder processes information may be a factor in theperformance level of the encoder and/or the decoder.

SUMMARY

Various aspects of the present invention are set out in the appendedclaims.

Further features and advantages will become apparent from the followingdescription of preferred embodiments, given by way of example only,which is made with reference to the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a schematic block diagram of an example of a signalprocessing system in accordance with an embodiment of the presentinvention;

FIGS. 2A and 2B show a schematic block diagram of another example of asignal processing system in accordance with an embodiment of the presentinvention;

FIG. 3 shows a schematic diagram of an example of a data processingtechnique in accordance with an embodiment of the present invention;

FIG. 4 shows a schematic diagram of an example of entry point data inaccordance with an embodiment of the present invention;

FIG. 5 shows a schematic diagram of an example of a configurationmessage in accordance with an embodiment of the present invention;

FIG. 6 is a flow diagram depicting an example of a method in accordancewith an embodiment of the present invention;

FIG. 7 shows a schematic diagram of another example of a configurationmessage in accordance with an embodiment of the present invention;

FIG. 8 shows a schematic diagram of another example of a configurationmessage in accordance with an embodiment of the present invention;

FIG. 9 shows a schematic diagram of another example of a configurationmessage in accordance with an embodiment of the present invention;

FIG. 10 is a flow diagram depicting an example of a method in accordancewith an embodiment of the present invention;

FIG. 11 is a flow diagram depicting another example of a method inaccordance with an embodiment of the present invention; and

FIG. 12 shows a schematic block diagram of an example of an apparatus inaccordance with an embodiment of the present invention.

DETAILED DESCRIPTION

Referring to FIG. 1 , there is shown an example of a signal processingsystem 100. The signal processing system 100 is used to process signals.Examples of types of signal include, but are not limited to, videosignals, image signals, audio signals, volumetric signals such as thoseused in medical, scientific or holographic imaging, or othermultidimensional signals.

The signal processing system 100 includes a first apparatus 102 and asecond apparatus 104. The first apparatus 102 and second apparatus 104may have a client-server relationship, with the first apparatus 102performing the functions of a server device and the second apparatus 104performing the functions of a client device. The signal processingsystem 100 may include at least one additional apparatus (not shown).The first apparatus 102 and/or second apparatus 104 may comprise one ormore components. The one or more components may be implemented inhardware and/or software. The one or more components may be co-locatedor may be located remotely from each other in the signal processingsystem 100. Examples of types of apparatus include, but are not limitedto, computerised devices, handheld or laptop computers, tablets, mobiledevices, games consoles, smart televisions, set-top boxes, augmentedand/or virtual reality headsets etc.

The first apparatus 102 is communicatively coupled to the secondapparatus 104 via a data communications network 106. Examples of thedata communications network 106 include, but are not limited to, theInternet, a Local Area Network (LAN) and a Wide Area Network (WAN). Thefirst and/or second apparatus 102, 104 may have a wired and/or wirelessconnection to the data communications network 106.

The first apparatus 102 comprises an encoder 108. The encoder 108 isconfigured to encode data comprised in the signal, which is referred tohereinafter as “signal data”. For example, where the signal is a videosignal, the encoder 108 is configured to encode video data. Video datacomprises a sequence of multiple images or frames. The encoder 108 mayperform one or more further functions in addition to encoding signaldata. The encoder 108 may be embodied in various different ways. Forexample, the encoder 108 may be embodied in hardware and/or software.

Although in this example the first apparatus 102 comprises the encoder108, in other examples the first apparatus 102 is separate from theencoder 108. In such examples, the first apparatus 102 iscommunicatively coupled to the encoder 108. The first apparatus 102 maybe embodied as one or more software functions and/or hardware modules.

The second apparatus 104 comprises a decoder 110. The decoder 110 isconfigured to decode signal data. The decoder 110 may perform one ormore further functions in addition to decoding signal data. The decoder110 may be embodied in various different ways. For example, the decoder110 may be embodied in hardware and/or software.

Although in this example the second apparatus 104 comprises the decoder110, in other examples, the second apparatus 104 is separate from thedecoder 110. In such examples, the second apparatus 104 iscommunicatively coupled to the decoder 110. The second apparatus 104 maybe embodied as one or more software functions and/or hardware modules.

The encoder 108 encodes signal data and transmits the encoded signaldata to the decoder 110 via the data communications network 106. Thedecoder 110 decodes the received, encoded signal data and generatesdecoded signal data. The decoder 110 may output the decoded signal data,or data derived using the decoded signal data. For example, the decoder110 may output such data for display on one or more display devicesassociated with the second apparatus 104.

In some examples described herein, the encoder 108 transmits to thedecoder 110 a representation of a signal at a given level of quality andinformation the decoder 110 can use to reconstruct a representation ofthe signal at one or more higher levels of quality. Such information maybe referred to as “reconstruction data”. In some examples,“reconstruction” of a representation involves obtaining a representationthat is not an exact replica of an original representation. The extentto which the representation is the same as the original representationmay depend on various factors including, but not limited to,quantisation levels. A representation of a signal at a given level ofquality may be considered to be a rendition, version or depiction ofdata comprised in the signal at the given level of quality. In someexamples, the reconstruction data is included in the signal data that isencoded by the encoder 108 and transmitted to the decoder 110. Forexample, the reconstruction data may be in the form of metadata. In someexamples, the reconstruction data is encoded and transmitted separatelyfrom the signal data.

The information the decoder 110 uses to reconstruct the representationof the signal at the one or more higher levels of quality may compriseresidual data, as described in more detail below. Residual data is anexample of reconstruction data. The information the decoder 110 uses toreconstruct the representation of the signal at the one or more higherlevels of quality may also comprise configuration data relating toprocessing of the residual data. The configuration data may indicate howthe residual data has been processed by the encoder 108 and/or how theresidual data is to be processed by the decoder 110. The configurationdata may be signaled to the decoder 110, for example in the form ofmetadata.

Referring to FIGS. 2A and 2B, there is shown schematically an example ofa signal processing system 200. The signal processing system 200includes a first apparatus 202 comprising an encoder and a secondapparatus 204 comprising a decoder. In each of the first apparatus 202and the second apparatus 204, items are shown on two logical levels. Thetwo levels are separated by a dashed line. Items on the first, highestlevel relate to data at a relatively high level of quality. Items on thesecond, lowest level relate to data at a relatively low level ofquality. The relatively high and relatively low levels of quality relateto a tiered hierarchy having multiple levels of quality. In someexamples, the tiered hierarchy comprises more than two levels ofquality. In such examples, the first apparatus 202 and the secondapparatus 204 may include more than two different levels. There may beone or more other levels above and/or below those depicted in FIGS. 2Aand 2B.

Referring first to FIG. 2A, the first apparatus 202 obtains a firstrepresentation of an image at a relatively high level of quality 206. Arepresentation of a given image is a representation of data comprised inthe image. The image may be a given frame of a video. The firstrepresentation of the image at the relatively high level of quality 206will be referred to as “input data” hereinafter as, in this example, itis data provided as an input to the encoder in the first apparatus 202.The first apparatus 202 may receive the input data 206. For example, thefirst apparatus 202 may receive the input data 206 from at least oneother apparatus. The first apparatus 202 may be configured to receivesuccessive portions of input data 206, e.g. successive frames of avideo, and to perform the operations described herein to each successiveframe. For example, a video may comprise frames F1, F2, . . . FT and thefirst apparatus 202 may process each of these in turn.

The first apparatus 202 derives data 212 based on the input data 206. Inthis example, the data 212 based on the input data 206 is arepresentation 212 of the image at the relatively low level of quality.In this example, the data 212 is derived by performing a downsamplingoperation on the input data 206 and will therefore be referred to as“downsampled data” hereinafter. In other examples, the data 212 isderived by performing an operation other than a downsampling operationon the input data 206.

In this example, the downsampled data 212 is processed to generateprocessed data 213 at the relatively low level of quality. In otherexamples, the downsampled data 212 is not processed at the relativelylow level of quality. As such, the first apparatus 202 may generate dataat the relatively low level of quality, where the data at the relativelylow level of quality comprises the downsampled data 212 or the processeddata 213.

In some examples, generating the processed data 213 involves encodingthe downsampled data 212. Encoding the downsampled data 212 produces anencoded image at the relatively low level of quality. The firstapparatus 202 may output the encoded image, for example for transmissionto the second apparatus 204. A series of encoded images, e.g. forming anencoded video, as output for transmission to the second apparatus 204may be referred to as a “base” stream. Instead of being produced in thefirst apparatus 202, the encoded image may be produced by an encodingdevice that is separate from the first apparatus 202. The encoded imagemay be part of an H.264 encoded video. Generating the processed data 213may, for example, comprise generating successive frames of video asoutput by a separate encoding device such as an H.264 video encoder. Anintermediate set of data for the generation of the processed data 213may comprise the output of such an encoder, as opposed to anyintermediate data generated by the separate encoding device.

Generating the processed data 213 at the relatively low level of qualitymay further involve decoding the encoded image at the relatively lowlevel of quality. The decoding operation may be performed to emulate adecoding operation at the second apparatus 204, as will become apparentbelow. Decoding the encoded image produces a decoded image at therelatively low level of quality. In some examples, the first apparatus202 decodes the encoded image at the relatively low level of quality toproduce the decoded image at the relatively low level of quality. Inother examples, the first apparatus 202 receives the decoded image atthe relatively low level of quality, for example from an encoding and/ordecoding device that is separate from the first apparatus 202. Theencoded image may be decoded using an H.264 decoder. The decoding by aseparate decoding device may comprise inputting encoded video, such asan encoded data stream configured for transmission to a remote decodingdevice, into a separate black-box decoder implemented together with thefirst apparatus 202 to generate successive decoded frames of video.Processed data 213 may thus comprise a frame of video data that isgenerated via a complex non-linear encoding and decoding process, wherethe encoding and decoding process may involve modelling spatio-temporalcorrelations as per a particular encoding standard such as H.264.However, because the output of any encoder is fed into a correspondingdecoder, this complexity is effectively hidden from the first apparatus202.

In an example, generating the processed data 213 at the relatively lowlevel of quality further involves obtaining correction data based on acomparison between the downsampled data 212 and the decoded imageobtained by the first apparatus 202, for example based on the differencebetween the downsampled data 212 and the decoded image. The correctiondata can be used to correct for errors introduced in encoding anddecoding the downsampled data 212. In some examples, the first apparatus202 outputs the correction data, for example for transmission to thesecond apparatus 204, as well as the encoded signal. This allows therecipient to correct for the errors introduced in encoding and decodingthe downsampled data 212. This correction data may also be referred toas a “first enhancement” stream. As the correction data may be based onthe difference between the downsampled data 212 and the decoded image itmay be seen as a form of residual data (e.g. that is different from theother set of residual data described later below).

In some examples, generating the processed data 213 at the relativelylow level of quality further involves correcting the decoded image usingthe correction data. For example, the correction data as output fortransmission may be placed into a form suitable for combination with thedecoded image, and then added to the decoded image. This may beperformed on a frame-by-frame basis. In other examples, rather thancorrecting the decoded image using the correction data, the firstapparatus 202 uses the downsampled data 212. For example, in certaincases, just the encoded then decoded data may be used and in othercases, encoding and decoding may be replaced by other processing.

In some examples, generating the processed data 213 involves performingone or more operations other than the encoding, decoding, obtaining andcorrecting acts described above.

The first apparatus 202 obtains data 214 based on the data at therelatively low level of quality. As indicated above, the data at therelatively low level of quality may comprise the processed data 213, orthe downsampled data 212 where the downsampled data 212 is not processedat the lower level. As described above, in certain cases, the processeddata 213 may comprise a reconstructed video stream (e.g. from anencoding-decoding operation) that is corrected using correction data. Inthe example of FIGS. 2A and 2B, the data 214 is a second representationof the image at the relatively high level of quality, the firstrepresentation of the image at the relatively high level of qualitybeing the input data 206. The second representation at the relativelyhigh level of quality may be considered to be a preliminary or predictedrepresentation of the image at the relatively high level of quality. Inthis example, the first apparatus 202 derives the data 214 by performingan upsampling operation on the data at the relatively low level ofquality. The data 214 will be referred to hereinafter as “upsampleddata”. However, in other examples one or more other operations could beused to derive the data 214, for example where data 212 is not derivedby downsampling the input data 206. It should be noted that thereferences to relatively high and relatively low levels of quality maycorrespond to references to a first and second level of quality, wherethe second level of quality is higher than the first level of quality.As described herein, in certain cases, the levels of quality maycorrespond to different spatial resolutions.

The input data 206 and the upsampled data 214 are used to obtainresidual data 216. The residual data 216 is associated with the image.The residual data 216 may be in the form of a set of residual elements.A residual element in the set of residual elements 216 may be associatedwith a respective image element in the input data 206. An example of animage element is a pixel.

In this example, a given residual element is obtained by subtracting avalue of an image element in the upsampled data 214 from a value of acorresponding image element in the input data 206. As such, the residualdata 216 is useable in combination with the upsampled data 214 toreconstruct the input data 206. The residual data 216 may also bereferred to as “reconstruction data” or “enhancement data”. In one case,the residual data 216 may form part of a “second enhancement” stream.

The first apparatus 202 obtains configuration data relating toprocessing of the residual data 216. The configuration data indicateshow the residual data 216 has been processed and/or generated by thefirst apparatus 202 and/or how the residual data 216 is to be processedby the second apparatus 204. The configuration data may comprise a setof configuration parameters. The configuration data may be useable tocontrol how the second apparatus 204 processes data and/or reconstructsthe input data 206 using the residual data 216. The configuration datamay relate to one or more characteristics of the residual data 216.Different configuration data may result in different processing beingperformed on and/or using the residual data 216. The configuration datais therefore useable to reconstruct the input data 206 using theresidual data 216.

In this example, the first apparatus 202 transmits to the secondapparatus 204 data based on the downsampled data 212, data based on theresidual data 216, and the configuration data, to enable the secondapparatus 204 to reconstruct the input data 206.

Turning now to FIG. 2B, the second apparatus 204 receives data 220 basedon (e.g. derived from) the downsampled data 212. The second apparatus204 also receives data based on the residual data 216. For example, thesecond apparatus 204 may receive a “base” stream (data 220), a “firstenhancement stream” (any correction data) and a “second enhancementstream” (residual data 216). The second apparatus 204 also receives theconfiguration data relating to processing of the residual data 216. Thedata 220 based on the downsampled data 212 may be the downsampled data212 itself, the processed data 213, or data derived from the downsampleddata 212 or the processed data 213. The data based on the residual data216 may be the residual data 216 itself, or data derived from theresidual data 216.

In some examples, the received data 220 comprises the processed data213, which may comprise the encoded image at the relatively low level ofquality and/or the correction data. In some examples, for example wherethe first apparatus 202 has processed the downsampled data 212 togenerate the processed data 213, the second apparatus 204 processes thereceived data 220 to generate processed data 222. Such processing by thesecond apparatus 204 may comprise decoding an encoded image (e.g. thatforms part of a “base” encoded video stream) to produce a decoded imageat the relatively low level of quality. In some examples, the processingby the second apparatus 204 comprises correcting the decoded image usingobtained correction data. Hence, the processed data 222 may comprise aframe of corrected data at a first or relatively low level of quality.In some examples, the encoded image at the relatively low level ofquality is decoded by a decoding device that is separate from the secondapparatus 204. The encoded image at the relatively low level of qualitymay be decoded using an H.264 decoder.

In other examples, the received data 220 comprises the downsampled data212 and does not comprise the processed data 213. In some such examples,the second apparatus 204 does not process the received data 220 togenerate processed data 222.

The second apparatus 204 uses data at the relatively low level ofquality to derive the upsampled data 214. As indicated above, the dataat the relatively low level of quality may comprise the processed data222, or the received data 220 where the second apparatus 204 does notprocess the received data 220 at the relatively low level of quality.The upsampled data 214 is a preliminary representation of the image atthe relatively high level of quality. The upsampled data 214 may bederived by performing an upsampling operation on the data at therelatively low level of quality.

The second apparatus 204 obtains the residual data 216. The residualdata 216 is useable with the upsampled data 214 to reconstruct the inputdata 206. The residual data 216 is indicative of a comparison betweenthe input data 206 and the upsampled data 214.

The second apparatus 204 also obtains the configuration data related toprocessing of the residual data 216. The configuration data is useableby the second apparatus 204 to reconstruct the input data 206. Forexample, the configuration data may indicate a characteristic orproperty relating to the residual data 216 that affects how the residualdata 216 is to be used and/or processed, or whether the residual data216 is to be used at all. In some examples, the configuration datacomprises the residual data 216.

There are several considerations relating to the use of suchconfiguration data. One such consideration is the amount of informationthat is generated, stored, transmitted and/or processed. The moreinformation that is used, the greater the amount of resources that maybe involved in handling such information. Examples of such resourcesinclude transmission resources, storage resources and processingresources. Compared to some known techniques, examples described hereinallow a relatively small amount of information to be used. This mayreduce the amount of data transmitted via the data communicationsnetwork 106. The savings may be particularly relevant where the datarelates to high quality video data, where the amount of informationtransmitted in known systems can be especially high.

Another consideration relating to the use of such configuration data isthe ability to adapt to different types of decoding device. For example,a given encoder may transmit information to a plurality of decoders eachhaving different characteristics such as processing and/or storagecapabilities. It is desirable for the use of configuration data in imagereconstruction to be agnostic to the type and/or capability of decoderdevice that is used to perform the reconstruction. Compared to someknown techniques, examples described herein enable different types ofdecoders having different operating characteristics to processconfiguration data reliably.

A further consideration relating to the use of such configuration datais the amount and/or the relative complexity of processing involved atthe encoder and/or the decoder in order to process the configurationdata. Compared to some known techniques, examples described hereinreduce an amount and/or a complexity of processing performed by theencoder and/or the decoder in order to obtain and/or process theconfiguration data. Simplifying the processing performed by the encoderand/or the decoder increases an efficiency of the encoder and/or thedecoder.

Other considerations include the ability of the decoder to perform imagereconstruction accurately and reliably. Performing image reconstructionaccurately and reliably may affect the ultimate visual quality of thedisplayed image and consequently may affect a viewer's engagement withthe image and/or with a video comprising the image. One factor that mayinfluence the accuracy and/or the reliability with which the decoder canperform reconstruction is in providing the decoder with up-to-dateand/or accurate information relating to how reconstruction is to beperformed. For example, configuration data may change over time and/orchange between different images. If the decoder is not informed of suchchanges promptly, the resulting visual quality of reconstructed imagesmay be affected. Compared to some known techniques, examples describedherein allow configuration information to be signaled relativelyfrequently to the decoder, thereby enabling the decoder to userelatively up-to-date configuration information in image reconstruction.

Error handling is also a consideration. For example, the ability of thedecoder to handle potential errors in the processing of configurationdata may be a factor in the reliability of the decoder. Compared to someknown techniques, examples described herein allow a decoder to handlepotential errors as well as the receipt of unexpected or unrecognizeddata. This may effectively increase the reliability of decoder.

Referring to FIG. 3 , there is shown schematically an example of a dataprocessing technique 300. The data processing technique 300 may beperformed by an apparatus comprising an encoder such as the firstapparatus 102 described above. The data processing technique 300involves performing byte-wise processing of configuration data, asdescribed in more detail below.

Configuration data 310 is obtained. The configuration data 310 isrelated to processing of residual data, for example residual data 216 asdescribed above. It will be understood that configuration data 310 asdepicted in FIG. 3 is an illustrative representation of the content ofsuch configuration data. In practical use, configuration data may beread and/or written as a series of is and

Os, for example [01000010].

The configuration data 310 comprises a set of values 320. The set ofvalues 320 corresponds to a set of configuration parameters. The valueof a given configuration parameter has a given bit-length. Thebit-length is the number of bits that are used to represent the value ofthe given configuration parameter. The bit-length of a value of a givenconfiguration parameter may be fixed or may be variable. For a variablebit-length, the number of bits that are used to represent the value ofthe given configuration parameter varies based on the value of the givenconfiguration parameter.

In some examples, the configuration data 310 comprises a reference to alook-up table that stores possible values of a given configurationparameter. For example, the configuration data 310 may comprise a valuethat is useable to obtain the value of the configuration parameter fromthe look-up table.

The configuration data 310 is arranged into a sequence of bytes 330. Thesequence of bytes 330 comprises an integer number of bytes. In thisexample, the values of the configuration parameters 320 are arrangedinto a sequence of bytes comprising 5 bytes, although it will beunderstood that other numbers of bytes may be used in other examples. Inthis example, a given byte in the sequence of bytes 330 comprises 8bits. The sequence of bytes 330 may be part of a larger byte sequence orbyte-wise stream. Arranging the configuration data 310 into a sequenceof bytes 330 enables byte-wise processing to be performed on theconfiguration data 310. In byte-wise processing, data is processed on abyte-by-byte basis.

Processing the configuration data 310 in a byte-wise manner may be moreefficient than processing the configuration data 310 in a bit-wisemanner. Bit-wise processing may involve tracking which bit within agiven byte is the next bit to be read or written. When a group of bitsthat represents a given parameter straddles a byte boundary, additionalprocessing may be performed in order to read the group of bits andobtain the given parameter. Such processing may be reduced in a casewhere byte-wise processing is performed. In some examples, a number ofexecution cycles may be reduced when processing data in a byte-wisemanner compared to a bit-wise manner.

In some examples, the sequence of bytes 330 is written to memory. Lessprocessing may be involved in storing the configuration data 310 inmemory and/or in retrieving the configuration data 310 from memory ifthe configuration data 310 is handled in a byte-by-byte manner comparedto a case in which the configuration data 310 is handled in a bit-by-bitmanner. The smallest unit of addressable memory may comprise one byte.As such, information may be stored in memory in a byte-wise manner.Therefore, fewer steps may be involved in storing the configuration data310 in memory and/or in retrieving the configuration data 310 frommemory if the configuration data 310 is packaged into a sequence ofbytes. An amount of padding used to package the configuration data 310into addressable memory units may also be reduced by providing theconfiguration data 310 to the memory in a byte-wise form.

Furthermore, transmission of the configuration data 310 via a networksuch as the Internet may be performed more efficiently if theconfiguration data 310 is arranged into a sequence of bytes. Data may betransmitted over the Internet via the Transmission Control Protocol(TCP). TCP operates in a transport layer of a protocol stack. TCPobtains data from a stream, packages the data into TCP segments and usesan internet module, for example the Internet Protocol (IP), to transmiteach TCP segment to a recipient via the Internet. The data stream may beobtained from memory. A TCP segment may comprise an integer number ofbytes. As such, less processing may be involved if the TCP obtains thedata that is to be packaged into the TCP segments from a byte-wisestream than from a bit-wise stream. An amount of padding used to packagethe data into TCP segments may also be reduced by providing the data tothe TCP in a byte-wise form. In this example, arranging theconfiguration data 310 into the sequence of bytes 330 is performed at anapplication layer of a protocol stack. As such, the application layermay process the configuration data 310 in a byte-by-byte manner insteadof a bit-by-bit manner.

In some examples, the configuration data 310 comprises values of aplurality of configuration parameters that have different bit-lengths.The configuration data 310 may be packed into the sequence of bytes 330by arranging the values in a predetermined order. The predeterminedorder may be a different order than an order in which the values areobtained. As such, the values may be re-arranged.

The values of the configuration parameters 320 may be arranged such thata given byte in the sequence of bytes 330 is filled by the valuesrepresented by the different bit-lengths. By filling a given byte in thesequence of bytes 330 with values represented by different bit-lengthsarranged in a predetermined order, an amount of padding used in thesequence of bytes 330 may be reduced. As such, data may be packed moreefficiently into the sequence of bytes 330 compared to a case in whichthe values represented by the different bit-lengths are not arranged inthe predetermined order. Packing data more efficiently into the sequenceof bytes 330 may reduce a number of bytes that are used to store theconfiguration data 310. An amount of information that is to betransmitted over a network may therefore be reduced.

The sequence of bytes 330 is output for processing by a decoder, such asdecoder 110, to enable the decoder to reconstruct the input data 206using the configuration data 310.

Referring to FIG. 4 , there is shown schematically an example of entrypoint data 400. Entry point data 400 may be output by encoder 108 andreceived by decoder 110. Entry point data 400 is a type of configurationdata. In some examples, entry point data 400 forms part of configurationdata 310. Entry point data 400 may be read by the decoder 110 beforeother configuration data is read. As such, entry point data 400 may bethe first configuration data that is processed by the decoder 110 for agiven received video stream.

Entry point data 400 comprises a version parameter 420. The versionparameter 420 may indicate a version number. The version may be aversion of a syntax according to which configuration data is arranged.The syntax may be considered a framework that defines how configurationdata is to be processed and/or defines the configuration parameters thatare to be included in the configuration data. The encoder 108 and/or thedecoder 110 may be configured to operate in accordance with the versionof the syntax indicated by the version parameter 420.

The value of the version parameter 420 has a fixed bit-length. In someexamples, the value of the version parameter 420 has a bit-length of 8bits. As such, the value of the version parameter 420 may be stored in afixed-length element in the sequence of bytes 330. A fixed-lengthelement comprises a predetermined integer number of bytes.

In this example, entry point data 400 comprises an extended versionparameter 425. The value of the extended version parameter 425 has avariable bit-length. The value of the extended version parameter 425 maybe stored in a variable-length element in the sequence of bytes 330.

A variable-length element comprises an integer number of bytes in thesequence of bytes 330. The variable-length element may be referred to asa “multi-byte” element, although in some examples the variable-lengthelement comprises a single byte. The one or more bytes of thevariable-length element may be contiguous in the sequence of bytes 330.In some examples, the one or more bytes of the variable-length elementare non-contiguous in the sequence of bytes 330.

At least one given byte of the variable-length element has one or morepredetermined bits arranged to indicate whether or not thevariable-length element comprises one or more additional bytes to the atleast one given byte. In some examples, the one or more predeterminedbits comprises a single predetermined bit. In other examples, the one ormore predetermined bits comprises more than one predetermined bit. Insome examples, each byte of the variable-length element comprises theone or more predetermined bits. In other examples, at least one byte ofthe variable-length element does not comprise the one or morepredetermined bits.

In a case where the one or more predetermined bits comprises a singlepredetermined bit, the single predetermined bit may be considered a flagthat indicates whether or not the one or more additional bytes arepresent in the variable-length element. For example, if thevariable-length element contains an additional byte to the at least onegiven byte, the value of the predetermined bit may be set to 1. If, onthe other hand, the variable-length element does not contain anadditional byte to the at least one given byte, the value of thepredetermined bit may be set to 0. In other words, the predetermined bitindicates whether the variable-length element extends beyond the atleast one given byte.

The one or more predetermined bits may be arranged at an end of the atleast one given byte. For example, the one or more predetermined bitsmay comprise one or more last bits of the at least one given byte. Insome examples, the one or more predetermined bits comprises one or morefirst bits of the at least one given byte. In some examples, each of theat least one given byte comprises seven bits arranged to store the valueof the extended version parameter 425 and one bit arranged to indicatewhether or not the variable-length element comprises one or moreadditional bytes to the at least one given byte.

As such, the value of the extended version parameter 425 may berepresented using the variable-length element regardless of thebit-length of the value of the extended version parameter 425. Thevariable-length element comprises the minimum number of bytes that areuseable to store the value of the extended version parameter 425. Theuse of the variable-length element may therefore reduce an amount ofinformation that is stored, processed and/or transmitted compared to acase in which a fixed-length element is used that has a size thatcorresponds to a maximum conceivable bit-length of the value of theextended version parameter 425. The variable-length element enables thenumber of possible values that can be used to represent the extendedversion parameter 425 to be increased as necessary and in a flexiblemanner. As such, the variable-length element may be used to provide forfuture developments and/or modifications to the configuration data 310,for example by allowing for an increase in the bit-length of the valueof the extended version parameter 425, without the need for relativelycomplex modifications to the structure of the configuration data 310.

In this example, the extended version parameter 425 is used selectively.This is depicted using dashed lines in FIG. 4 . The extended versionparameter 425 is used if it is determined that the fixed-length versionparameter 420 is insufficient to store the value of the version number.In some examples, the value of the version number is stored in theextended version parameter 425 in response to determining that the valueof the version number has a predetermined relationship with apredetermined threshold value. In some examples, the predeterminedrelationship comprises the value of the version number being greaterthan or equal to the predetermined threshold value. In some examples, ifit is determined that the value of the version number does not have thepredetermined relationship with the predetermined threshold value, thevalue of the version number is stored in the version parameter 420instead of in the variable-length extended version parameter 425. Usinga variable-length element selectively reduces an amount of informationthat is used, stored and/or transmitted compared to a case in which thevariable-length element is used regardless of the value of the versionnumber.

In some examples, the predetermined threshold value is related to thebit-length of the fixed-length element, namely the bit-length of theversion parameter 420. For example, if the fixed-length elementcomprises eight bits, values between 0 and 255 may be represented by thefixed-length element. The predetermined threshold value in such a casemay be 255, for example. As such, if the value of the version number isgreater than 255, the variable-length extended version parameter 425 maybe used instead of or in addition to the fixed-length version parameter420 to store the value of the version number.

In some examples, data is stored in the version parameter 420 toindicate that the version number is stored in the extended versionparameter 425. In some examples, the data comprises at least onepredetermined bit in the version parameter 420. The data stored in theversion parameter 420 enables the decoder 110 to determine that thevalue of the version number is stored in the extended version parameter425.

The above-described use of variable-length elements and/or selectiveinclusion of such variable-length elements may also apply to otherconfiguration parameters of configuration data output by the encoder108.

Additionally, or alternatively to selectively including configurationparameters corresponding to variable-length elements, the encoder 108may selectively include configuration parameters corresponding tofixed-length elements. In some examples, the configuration datagenerated by the encoder 108 comprises a parameter presence indicator.The parameter presence indicator specifies whether or not a given set ofconfiguration parameters are comprised in a given part of theconfiguration data. The given set of configuration parameters has apredetermined format. In the example relating to the version numberdescribed above, the parameter presence indicator comprises thepredetermined bit in the version parameter 420 that indicates that theextended version parameter 425 is being included. Parameter presenceindicators correspond to nested logical statements such as IFstatements. That is, if a parameter presence indicator has or is given aparticular value, the given set of configuration parameters are includedin the configuration data. Including the given set of configurationparameters selectively reduces an amount of information that is used,stored and/or transmitted compared to a case in which the given set ofconfiguration parameters are not selectively included.

Referring to FIG. 5 , there is shown schematically an example of aconfiguration message 500. The configuration message 500 may form partof configuration data 310. The configuration message 500 may begenerated by encoder 108. The configuration message 500 may be receivedand/or read by decoder 110 after entry point data 400 has been receivedand/or read.

The configuration message 500 comprises a header part 510 and a payloadpart 520. The payload part 520 comprises a set of configurationparameters 550. The set of configuration parameters 550 are related toprocessing of residual data, for example residual data 216 as describedabove. In some examples, the configuration message 500 is an integernumber of bytes long.

The header part 510 comprises a message type parameter 512. The messagetype parameter 512 specifies a message type of the configuration message500. The message type specified by the message type parameter 500 mayindicate how the configuration message 500 is to be processed. Exampletypes of configuration message are described below.

The message type parameter 512 is indicative of the payload part 520having a given payload format. The payload format of the payload part520 may be determined based on the message type of the configurationmessage 500. The payload format may define a set of configurationparameters that are comprised in the payload part 520. In some examples,the payload format of the payload part 520 defines a particularprocessing logic that specifies how the content of the payload part 520is to be processed. The payload part 520 has a format size. The formatsize of the payload part 520 corresponds to the payload format of thepayload part 520. The format size of a payload part having a givenpayload format is predetermined or can be determined from the content ofthe payload part. For example, the format size may be determined basedon the combined size of the individual configuration parameters that aredefined by the payload format. The format size may be considered to be apossible size or a suggested size of the payload part 520.

The header part 510 also comprises a payload size parameter 514. Thepayload size parameter 514 specifies the actual size of the payload part520. The actual size of the payload part 520 may be an integer number ofbytes.

In some examples, the value of the payload size parameter 514 is storedin a fixed-length element. The fixed-length element storing the value ofthe payload size parameter 514 may comprise a predetermined number ofbits in a given byte of the header part 510. For example, the value ofthe payload size parameter 514 may be stored in a fixed-length elementcomprising three bits in a one-byte header part.

In some examples, the payload size parameter 514 comprises a referenceto a payload size look-up table that stores possible values of theactual size of the payload part 520. For example, the payload sizeparameter 514 may comprise a value that is useable to obtain the actualsize of the payload part 520 from the payload size look-up table.

In some examples, the value of the payload size parameter 514 is storedin a variable-length element. This may be the case, for example, whenthe actual size of the payload part 520 is not one of the valuesspecified in the payload size look-up table. The actual size of thepayload part 520 specified by the payload size parameter 514 may have avariable bit-length. As such, the payload size parameter 514 may berepresented using the variable-length element regardless of thebit-length of the payload size parameter 514. The variable-lengthelement comprises the minimum number of bytes that are useable to storethe value of the payload size parameter 514.

In some examples, data is stored in a fixed-length element thatindicates that the value of the payload size parameter 514 is stored ina variable-length element. For example, if it is determined that thevalue of the payload size parameter 514 is one of a predetermined set ofvalues, the value may be stored in the fixed-length element and/or thefixed-length element may include a reference to the payload size look-uptable. If, on the other hand, it is determined that the value of thepayload size parameter 514 is not one of the predetermined set ofvalues, a variable-length element may be used to store the value, andthe fixed-length element may be arranged to indicate, for example via aflag comprised in the fixed-length element, that the variable-lengthelement is being used to store the value.

In this example, the header part 510 contains only the message typeparameter 512 and the payload size parameter 514. In other examples, theheader part 510 comprises one or more further parameters. In someexamples, the header part 510 is one byte long. For example, the messagetype parameter 512 may be represented by five bits and the payload sizeparameter 514 may be represented by the remaining three bits of theone-byte header part 510. In other examples, for example where avariable-length element is used to represent the actual size of thepayload part 520, the header part 510 comprises more than one byte.

The actual size of the payload part 520 may be the same as or differentfrom the format size of the payload part 520. Regardless of whether ornot the actual size and the format size are the same, the payload sizeparameter 514 specifying the actual size is included in the header part510 of the configuration message 500.

Including a payload size parameter 514 that specifies the actual size ofthe payload part 520 when a possible size of the payload part 520,namely the format size, can be inferred from the message type parameter512 may appear to be inefficient and/or a duplication of information,particularly when the format size and the actual size are the same.Including a payload size parameter 514 in the configuration message 500involves a greater amount of data being used for the configurationmessage 500 compared to a case in which no such parameter is included.However, including the payload size parameter 514 in the configurationmessage 500 facilitates more efficient and reliable processing of thedecoder 110 and/or improved error handling compared to a case in whichno such parameter is used, as will be described in more detail below.

Referring to FIG. 6 , there is shown an example of a method 600 ofprocessing configuration data. The method 600 may be performed by anapparatus comprising a decoder such as the second apparatus 104described above.

In some examples, residual data is received. In this example, thereceived residual data is residual data 216 described above. Theresidual data 216 may be received from an encoder such as encoder 108.

At item 610, a configuration message is received. In this example, thereceived configuration message is configuration message 500 describedabove. The configuration message 500 may be received from encoder 108.

At item 620, the received configuration message 500 is processed usingthe message type parameter 512 and the payload size parameter 514. Theconfiguration message 500 is processed to obtain the set ofconfiguration parameters 550 stored in the payload part 520 of theconfiguration message 500.

In some examples, processing the configuration message 500 comprisesparsing the header part 510 of the configuration message 500 to obtainthe message type parameter 512 and the payload size parameter 512. Basedon the payload size parameter 514, the actual size of the payload part520 is determined. Based on the message type parameter 512, the messagetype of the configuration message 500 is determined. The configurationmessage 500 is processed in accordance with the determined message typeand the determined actual size of the payload part 520.

Processing the configuration message 500 comprises parsing the payloadpart 520 to obtain the configuration data 550. In some examples,processing the configuration message 500 comprises tracking the numberof bytes of the configuration message 500 that have been read as thepayload part 520 is parsed. The decoder 110 may detect the occurrence ofan under-read if there is a determined discrepancy between the number ofbytes read when parsing the payload part 520 and the actual size of thepayload part 520 as specified by the payload size parameter 514. Anunder-read may be a potential source of errors when processingconfiguration messages.

In some examples, the payload size parameter 514 is used to determinethe start of a following configuration message. The followingconfiguration message may be a next successive configuration messagerelative to configuration message 500 in a sequence of configurationmessages received by the decoder 110. The sequence of configurationmessages may form part of configuration data. Configuration message 500and the following configuration message may correspond to the same imageor to different images. For example, configuration message 500 maycorrespond to a first image in an image sequence and the followingconfiguration message may correspond to a second, different image in theimage sequence.

In some examples, processing the configuration message 500 comprisesdiscarding at least part of the content of the payload part 520. The atleast part of the content of the payload part 520 may be discarded usingthe payload size parameter 514. For example, the decoder 110 may skip tothe next configuration message, the start of the next configurationmessage having been determined using the payload size parameter 514,without processing at least part of the content of the payload part 520.

Using the payload size parameter 514 therefore enables the decoder 110to handle possible under-reads in an efficient manner. Using the payloadsize parameter 514 to locate the start of the following message alsoenables the decoder 110 to maintain a correct alignment orsynchronisation with a bytestream comprising multiple configurationmessages. For example, even if the content and/or format of a givenconfiguration message is unrecognised, unexpected and/or has beenupdated without the knowledge of the decoder 110, the decoder 110 isstill able to locate the start of the following configuration messageand thus remain synchronised with the bytestream. Furthermore, if abytestream becomes malformed, the decoder 110 is able to detect when anover-read is about to occur and respond accordingly. For example, thedecoder 110 may abort processing of the current configuration messageand reset the bytestream to the determined location of the start of thenext configuration message. Processing the configuration message 500using the payload size parameter 514 therefore improves the reliabilityand/or adaptability of the decoder 110 compared to a case in which sucha parameter is not used, in that the decoder 110 is able to handleconfiguration messages that have been modified and/or that areunrecognised and/or unexpected. The decoder 110 is also able to handlepotential under-reads and over-reads without falling out of synch withthe bytestream, thereby improving the ability of the decoder 110 tohandle potential errors.

In some examples, processing the configuration message 500 comprisesparsing first content of the payload part 520. The first contentcorresponds to the format size of the payload part 520. The firstcontent may comprise the set of configuration parameters 550. The firstcontent may comprise first configuration data. Processing theconfiguration message 500 may further comprise discarding the remainingcontent of the payload part 520 using the payload size parameter 514.The remaining content of the payload part 520 comprises content of thepayload part 520 that is not comprised in the first content. Theremaining content comprises further configuration data. The presence ofthe remaining content may be determined by detecting a discrepancybetween the format size and the actual size of the payload part 520. Inother words, if it is determined that the actual size is greater thanthe format size, it is determined that additional content, beyond thecontent that is expected based on the format size, is present in thepayload part 520.

At item 630, input data 206 is reconstructed using the obtained set ofconfiguration parameters 550. The input data 206 may be reconstructed byusing the residual data 216 in accordance with the obtained set ofconfiguration parameters 550.

In some examples, the payload part 520 of configuration message 500comprises a first and a second payload portion. The payload sizeparameter 514 may be indicative of a total size of the first and thesecond payload portions. The first and the second payload portion maycomprise first and second configuration data, respectively. In someexamples, the second configuration data comprises supplementaryconfiguration data. The supplementary configuration data is arranged tosupplement the first configuration data. The second payload portion maybe arranged subsequently with respect to the first payload portion. Assuch, the first payload portion may be received, processed and/or parsedby the decoder 110 before the second payload portion is received,processed and/or parsed.

In some examples, the header part 510 does not specify the size of thefirst payload portion and/or the size of the second payload portion. Insome examples, the size of the first payload portion may be determinedbased on the format size indicated by the message type parameter 512. Assuch, the format size indicated by the message type parameter 512 mayreflect the content of the first payload portion but not the content ofthe second payload portion.

The first configuration data relates to a first set of one or moredecoders. The first set of one or more decoders has a first operatingcharacteristic. An example of an operating characteristic is aprocessing capability. The second configuration data relates to a secondset of one or more decoders. The second set of one or more decoders hasa second operating characteristic. The decoder 110 to which theconfiguration message 500 is transmitted may be comprised in the firstset or the second set. The encoder 108 that generates the configurationmessage 500 may be unaware which set of decoders the decoder 110 iscomprised in. The encoder 108 may transmit the configuration message 500to multiple decoders across both sets of decoders.

In some examples, the first operating characteristic corresponds to afirst version according to which the first set of one or more decodersis configured to operate, and the second operating characteristiccorresponds to a second, different version according to which the secondset of one or more decoders is configured to operate. The second versionmay be a later version relative to the first version. The first andsecond versions may be different versions of the syntax framework thatdefines how configuration messages are to be processed and/or thatdefines the content of such configuration messages. Therefore, when thesyntax is updated from the first version to the second version, thesecond configuration data is added to a configuration message thatcontains the first configuration data from the first version. The secondconfiguration data may, for example, be appended to the firstconfiguration data.

Adding the second configuration data to a configuration message of anexisting message type instead of generating a new message type toaccommodate the second configuration data reduces an amount of data thatis stored, transmitted and/or processed compared to a case in which newmessage types are generated. By modifying the configuration of existingmessage types instead of defining new message types, the total number ofconfiguration messages used to convey all relevant configuration datamay be reduced. Each configuration message has a corresponding headerwhich may be at least one byte long. Therefore, by reducing the overallnumber of configuration messages, the amount of data that is stored,transmitted and/or processed may be reduced.

In some examples, the decoder 110 is not able to process both the firstand the second payload portion. For example, the encoder 108 may haveundergone an update according to which the second configuration data isincluded in the configuration message 500, but the decoder 110 may nothave undergone such an update. In other words, the encoder 108 and thedecoder 110 may operate according to different versions of the syntax.In such examples, there may be a discrepancy in the format size of thepayload part 520 as interpreted by the encoder 108 and as interpreted bythe decoder 110. For example, the format size according to the encoder108, being aware of the additional content of the payload part 520 andthe updated payload format following the version update, is differentfrom the format size according to the decoder 110, since the decoder 110is unaware of the additional content and the updated payload format andis operating according to the previous version. For the encoder 108, theformat size is equal to the actual size of the updated payload part 520,but for the decoder 110 it is not. The format size alone may thereforebe an unreliable indicator of the actual size of the payload part 520.Including the payload size parameter 514 that specifies the actual sizeof the payload part 520 therefore facilitates more reliable processingof the decoder 110.

In some examples, for example if the decoder 110 is in the first set ofdecoders, the first payload portion is parsed by the decoder 110 and thesecond payload portion is not parsed by the decoder 110. Parsing thefirst payload portion but not the second payload portion enables thedecoder 110 to obtain the first configuration data but not the secondconfiguration data. In some examples, for example if the decoder 110 isin the second set of decoders, the second payload portion is parsed bythe decoder 110 and the first payload portion is not parsed by thedecoder 110. Parsing the second payload portion but not the firstpayload portion 522 enables the decoder 110 to obtain the secondconfiguration data but not the first configuration data. In someexamples, for example if the decoder 110 is in the second set ofdecoders, both the first and the second payload portion are parsed toobtain both the first and the second configuration data.

As described above, the payload size parameter 514 may be used todetermine the start of a following configuration message. In someexamples, for example if the decoder 110 is in the first set ofdecoders, the content of the second payload portion is discarded. Thecontent of the second payload portion may be discarded by using thetotal size of the payload part 520 specified in the payload sizeparameter 514. Using the payload size parameter 514 to locate the startof the following message enables the decoder 110 to remain synchronisedwith the bytestream regardless of whether the decoder 110 is in thefirst set of decoders or the second set of decoders.

In a case where the decoder 110 obtains both the first and the secondconfiguration data, the first representation 206 of the image isreconstructed using both the first and the second configuration data. Ina case where the decoder 110 processes only one of the first and thesecond payload portions, the first representation 206 of the image maybe reconstructed using the obtained one of the first and the secondconfiguration data. As such, the use of the configuration message 500 toreconstruct the first representation 206 may be agnostic to the type ofdecoder and/or to the version number according to which the decoder 110is configured to operate.

Referring to FIG. 7 , there is shown a schematic diagram of an exampleof a configuration message 700. The configuration message 700 may formpart of configuration data 310. The configuration message 700 may begenerated by encoder 108. Some items depicted in FIG. 7 are similar toitems shown in FIG. 5 . Corresponding reference signs, incremented by200, have therefore been used for similar items.

Configuration message 700 is a more specific example of configurationmessage 500. Configuration message 700 comprises a header part 710 and apayload part 720. The header part 710 comprises a message type parameter712 and a payload size parameter 714. The payload part 720 comprises aset of configuration parameters. The set of configuration parameters arerelated to processing of residual data 216. In some examples, theconfiguration message 700 is an integer number of bytes long.

The message type of the configuration message 700 is an image setconfiguration message. An image set configuration message corresponds tomultiple images in a set of images. In some examples, the set of imagescomprises 75 images. The set of images may be part of a video signal.For example, the set of images may comprise consecutive frames of avideo. The video may be a streamed video. An example of a video is abroadcast video. For example, the video may be broadcast via the datacommunications network 106. In some examples, the set of images isencoded as a group of pictures (GOP). A GOP is an encoding of a sequenceof images each of which may be decoded using information containedentirely within the GOP. A video may comprise multiple such GOPs.

In some examples, an image set configuration message corresponds toevery image in a set of images. The payload part 720 comprises a set ofimage set configuration parameters. The set of image set configurationparameters has a predetermined format.

In this example, the set of image set configuration parameters comprisesa transform type parameter 751. The transform type parameter 751 relatesto a transformation operation performed on the residual data 216. Thetransformation operation may be a directional decomposition operation.One example of a directional decomposition operation is a Hadamardtransform. The transformation operation may exploit spatial and/ordirectional correlation between residual elements in the residual data216. Performing the transformation operation on the residual data 216results in transformed residual data. The transformed residual data maybe smaller than the residual data 216. The transformed residual data mayhave a lower encoding entropy than the residual data 216. As such, itmay be more efficient for the encoder 108 to transmit the transformedresidual data than the residual data 216. The decoder 110, receiving thetransformed residual data, may then perform an inverse transformationoperation on the transformed residual data to obtain the residual data216. The encoder 108 thus signals to the decoder 110 whichtransformation operation has been applied to the residual data 216 viathe transform type parameter 751. In some examples, the transform typeparameter 751 specifies a transformation operation from a plurality ofpossible transformation operations that may be applied to the residualdata 216. In some examples, the value of the transform type parameter751 has a fixed bit-length. For example, the value of the transform typeparameter 751 may have a bit-length of two bits.

In this example, the set of image set configuration parameters comprisesan upsample type parameter 752. The upsample type parameter 752 relatesto an upsampling operation. The upsampling operation is performed, foreach image in the set of images, on a representation of the image at therelatively low level of quality. The upsampling operation is performedon the representation at the relatively low level of quality to derivethe upsampled data 214. The encoder 108 performs such an upsamplingoperation in order to derive the residual data 216. The decoder 110 mayperform a corresponding upsampling operation in order to reconstruct theinput data 206, namely by combining the upsampled data 214 with theresidual data 216. The encoder 108 thus signals to the decoder 110 whichupsampling operation is to be used via the upsample type parameter 752.In some examples, the upsample type parameter 752 specifies aninterpolation operation from a plurality of possible interpolationoperations. Examples of possible interpolation operations includenearest neighbour interpolation, bilinear interpolation, bicubicinterpolation and Lanczos interpolation. In some examples, the upsampletype parameter specifies whether upsampling is performed in onedimension or two dimensions. In other words, the upsample type parameter752 may specify whether one or both of horizontal and verticalupsampling is performed on the representation at the relatively lowlevel of quality. In some examples, the configuration parameter relatingto the upsampling operation may specify whether horizontal or both ofhorizontal and vertical upsampling is performed on the representation atthe relatively low level of quality. In some examples, the value of theupsample type parameter 752 has a fixed bit-length. In one example, thevalue of the upsample type parameter 752 has a bit-length of three bits.In another example, the value of the upsample type parameter 752 has abit-length of four bits.

In this example, the set of image set configuration parameters comprisesa depth type parameter 753. The depth type parameter 753 relates to abit depth. The bit depth is associated with the residual data 216 for agiven image in the set of images. The bit depth may also be referred toas a colour depth. In some examples, bit depth indicates the number ofbits used to indicate the colour of a given pixel in a given image. Assuch, the bit depth may be indicative of how finely colour can berepresented in the given image. In some examples, the bit depthindicates the number of bits used for each colour component of a givenpixel in a given image. In some examples, a given residual element inthe residual data 216 for a given image comprises a plurality of colourcomponents (e.g. for YUV or RGB data). The bit depth may indicate thenumber of bits used for each colour component of the given residualelement. Different colour components may have different bit lengths. Insome examples, the value of the depth type parameter 753 has a fixedbit-length. In one example, the value of the depth type parameter 753has a bit-length of two bits. In another example, the value of the depthtype parameter 753 has a bit-length of four bits.

In this example, the set of image set configuration parameters comprisesa temporal processing parameter 754. The temporal processing parameter754 specifies an extent of temporal processing associated withreconstructing, for a given image in the set of images, the input data206. Performing temporal processing comprises using data based onmultiple images in the set of images. In some examples, each of theimages in the set of images corresponds to a different time sample of avideo. For example, temporal processing may adjust data for a givenframe of video, such as data derived from residual data for the frame,using data for a different frame of video, such as data derived fromresidual data for the different frame. The data based on multiple imagesmay be indicative of an extent of temporal correlation between residualdata for the given image and residual data for one or more furtherimages in the set of images. The one or more further images maycorrespond to one or more earlier time samples in the video relative toa time sample corresponding to the given image. For example, data atleast derived from residual data that is associated with a previousframe of video may be used to reconstruct a current frame of video viamodification of data at least derived from residual data that isassociated with the current frame.

In some examples, the data based on multiple images comprises temporalcorrelation data. Temporal correlation data may comprise data that isbased on a difference between residual data for the given image andcorresponding residual data for the one or more further images. This maybe a difference based on data for a current frame and data for aprevious frame. For image sequences that exhibit a relatively highdegree of temporal correlation, it may be more efficient to use and/oroutput the temporal correlation data than the residual data for thegiven image.

In some examples, the value of the temporal processing parameter 754 isbased on an optimization metric. An optimization operation may beperformed in order to determine whether the residual data or thetemporal correlation data is more efficient to use and/or output for thegiven image. Based on the optimization metric, the value of the temporalprocessing parameter 754 may instruct the decoder 110 to reconstruct agiven frame of video based on one of the residual data and the temporalcorrelation data. This may reflect a processing that has been performedat a corresponding encoder. The optimization operation may comprise arate-distortion analysis, as described in more detail below.

The value of the temporal processing parameter 754 may have a bit-lengthof one bit. For example, this may indicate whether temporal processingis to be performed or not (a binary determination), e.g. in relation toa given frame of video. As such, the temporal processing parameter 754may be stored in a predetermined bit in a given byte of configurationdata.

In this example, the set of image set configuration parameters comprisesa resolution type parameter 755 specifying a resolution of the inputdata 206 for a given image in the set of images. In some examples, thevalue of the resolution type parameter 755 has a fixed bit-length. Inone example, the value of the resolution type parameter 755 has abit-length of seven bits.

In some examples, the set of image set configuration parameterscomprises a custom resolution parameter 756. The custom resolutionparameter relates to a resolution of the input data 206. The customresolution parameter 756 may be included in the image set configurationmessage 700 selectively. This is depicted using dashed lines in FIG. 7 .For example, the custom resolution parameter 756 may be included if itis determined that the resolution of the input data 206 is not one of apredetermined set of values that may be specified by the resolution typeparameter 755. Data may be stored in the resolution type parameter 755to indicate that the custom resolution parameter 756 is included in theimage set configuration message 700. Such data may comprise apredetermined bit in the resolution type parameter 755. Thepredetermined bit therefore comprises a parameter presence indicatorthat indicates the presence of the custom resolution parameter 756 inthe image set configuration message 700.

The set of image set configuration parameters may comprise more, feweror different parameters than those described above with reference toFIG. 7 .

The image set configuration message 700 corresponds to multiple imagesin the set of images. In this example, the image set configurationmessage 700 corresponds to all of the images in the set of images. Assuch, a single set of image set configuration parameters is applicableto every image in the set of images. Image set configuration data mayalso be referred to as “global configuration data”.

The image set configuration message 700 is output to the decoder 110 toenable the decoder 110 to reconstruct, for each image in the set ofimages, the input data 206 using the upsampled data 214 and the residualdata 216.

The number of times the image set configuration message 700 is outputfor the set of images is less than the number of images in the set ofimages. Outputting the image set configuration message 700 for a numberof images that is less than the number of images in the set of imagesreduces the amount of information that is transmitted over a givenperiod of time. In this example, the number of times the image setconfiguration message 700 is output for the set of images is one. Theimage set configuration message 700 may be output for the first imageonly in the set of images. The first image in the set of images may bethe first image in the set of images that is output, received, processedand/or displayed. Outputting the image set configuration message 700 forthe first image in the set of images may enable the recipient to receivethe image set configuration data as early as possible, and/or may enablethe recipient to apply the image set configuration data to as manyimages in the set of images as possible. In some examples, the image setconfiguration message 700 is output with or alongside the first image inthe set of images. In some examples, the image set configuration message700 is output for an image other than the first image in the set ofimages. In some examples, the number of times the image setconfiguration message 700 is output for the set of images is greaterthan one but less than the number of images in the set of images. In oneexample, the image set configuration message 700 is output once for aset of images comprising 75 images.

In some examples, the number of times the image set configurationmessage 700 is output for the set of images is based on an optimizationmetric. An example of an optimization metric is a rate-distortionmetric. Rate-distortion optimization optimizes the amount of data thatis transmitted against an amount of loss of visual quality. The moreinfrequently the image set configuration message 700 is output, the lessdata is transmitted. However, outputting the image set configurationmessage 700 too infrequently may result in an undesirable loss ofquality due to the decoder 110 not being provided with up-to-dateconfiguration data. Therefore, the number of times the image setconfiguration message 700 is output is optimized so as to reduce theamount of data sent whilst reducing any loss in visual quality.

In some examples, a ratio of the number of times the image setconfiguration message 700 is output for the set of images to the numberof images in the set of images is less than a predetermined thresholdvalue. The predetermined threshold value may be based on an optimizationmetric such as the rate-distortion metric described above.

Referring to FIG. 8 , there is shown schematically an example of aconfiguration message 800. The configuration message 800 may form partof configuration data 310. The configuration message 800 may begenerated by encoder 108. Some items depicted in FIG. 8 are similar toitems shown in FIG. 5 . Corresponding reference signs, incremented by300, have therefore been used for similar items.

Configuration message 800 is a more specific example of configurationmessage 500. The configuration message 800 comprises a header part 810and a payload part 820. The header part 810 comprises a message typeparameter 812 and a payload size parameter 814. The payload part 820comprises a set of configuration parameters. The set of configurationparameters are related to processing of residual data 216. In someexamples, the configuration message 800 is an integer number of byteslong.

The message type of the configuration message 800 is an imageconfiguration message. An image configuration message may correspond toa given image only in a set of images. As such, a different imageconfiguration message may be generated and/or output for each image inthe set of images. The payload part 820 comprises a set of imageconfiguration parameters.

In this example, the set of image configuration parameters comprises aresidual use parameter 851. The value of the residual use parameter 851specifies whether or not the input data 206 for a given image is to bereconstructed using the residual data 216 for the given image. If theinput data 206 is to be reconstructed, a further set of configurationparameters is included in the image configuration message 800. If theinput data 206 is not to be reconstructed, the further set ofconfiguration parameters is not included in the image configurationmessage 800. Therefore, the further set of configuration parameters isincluded selectively. This is depicted using dashed lines in FIG. 8 .

In this example, the value of the residual use parameter 851 indicateswhether the further set of configuration parameters is included in theimage configuration message 800. In this example, the value of theresidual use parameter 851 can therefore indicate whether or not thefurther set of configuration parameters is included in the imageconfiguration message 800. As such, the residual use parameter 851 maycomprise a parameter presence indicator. The residual use parameter 851is useable by the decoder 110 to detect whether or not the input data206 is to be reconstructed using the residual data 216 and whether ornot the further set of configuration parameters are included in theconfiguration message 800.

In some examples, when the further set of configuration parameters isincluded in the image configuration message 800, the payload part 820 ofconfiguration message 800 is 5 bytes long. When the further set ofconfiguration parameters is not included in the configuration message800, the payload part 820 of configuration message 800 may be 1 bytelong.

In this example, the set of image configuration parameters comprisesquantisation data 852. The quantisation data 852 is comprised in thefurther set of configuration parameters whose inclusion is indicated bythe residual use parameter 851. The quantisation data 852 is indicativeof a quantisation level of data useable by the decoder 110 toreconstruct, for a given image, the input data 206 using the upsampleddata 214.

Quantisation involves approximating a relatively large set of values bya relatively small set of values, for example by rounding, thresholdingor truncating the values in the relatively large set. The objective of aquantisation operation is to reduce the amount of data in quantisedoutput data compared to that in the input data to the quantisationoperation. A quantisation level of given data may indicate howaggressively the given data is quantised. A quantisation level may beindicative of a granularity of quantised data obtained via thequantisation process. In another words, the quantisation level may beindicative of how much information is lost due to such quantisation. Forexample, a quantisation level may indicate one or more thresholds orbins for quantisation that indicate how data is quantised.

In some examples, the quantisation data 852 is indicative of aquantisation level of residual data 216. Therefore, the data useable bythe decoder 216 to reconstruct the input data 206 may be data at therelatively high level of quality. The quantisation level may instructthe decoder 110 on how to perform an inverse quantisation upon alreadyquantised residual data 216. For example, at the decoder 110, a receivedset of residual data 216 may have values in a first quantised range,that are then expanded to a larger range of values following inversequantisation. The quantisation data 852 may be used to perform thisoperation.

In some examples, the quantisation data 852 is indicative of aquantisation level of correction data. For a given image, the correctiondata is useable to correct for errors in encoding and/or decoding therepresentation at the relatively low level of quality, as described withreference to FIG. 2 above. Therefore, the data useable by the decoder110 to reconstruct the input data 206 may be data at the relatively lowlevel of quality.

In some examples, the quantisation data 852 is indicative of a firstquantisation level and a second quantisation level. The firstquantisation level is a quantisation level applied to the residual data216. The second quantisation level is a quantisation level applied tocorrection data. As such, both the residual data 216 and the correctiondata may be quantised using individually defined quantisation levelsthat are indicated by the quantisation data 852. The quantisation data852 may thus comprise levels at which one or more of correction data andresidual data were quantised at an encoder (e.g. followingtransformation as described herein), which are then sent to a decoder toallow inverse quantisation and reconstruction of original valuesassociated with the correction data and residual data (the reconstructedvalues may not match the original values prior to quantisation at theencoder, due to information lost during the quantisation process).

The quantisation data 852 may comprise an integer number of bytes. Insome examples, the quantisation data 852 comprises two bytes. In someexamples, the quantisation data 852 comprises four bytes.

In this example, the set of image configuration parameters comprises apicture type parameter 853. The picture type parameter 853 is comprisedin the further set of configuration parameters whose inclusion isindicated by the residual use parameter 851. The picture type parameter853 specifies whether the given image corresponds to a frame or a field.In other words, the picture type parameter 853 indicates whether thegiven image is progressive, in which case picture type parameter 853specifies a frame, or interlaced, in which case picture type parameter853 specifies a field. In a case where the given image is interlaced,the picture type parameter 853 may also specify a field type, forexample a top field or a bottom field. The picture type parameter 853may have a bit-length of one or two bits.

In this example, the set of image configuration parameters comprises atemporal refresh parameter 854. The temporal refresh parameter 854 iscomprised in the further set of configuration parameters whose inclusionis indicated by the residual use parameter 851. The temporal refreshparameter 854 is used to indicate when temporal data is to be refreshed.For example, the value of the temporal refresh parameter 854 may specifywhether or not a buffer storing temporal data is to be cleared. Forexample, as described herein, residual data (or transformed residualdata) for a current frame of video may be modified based on residualdata (or transformed residual data) for a previous frame of video. Thelatter data may be stored in a buffer and used to modify the formerdata. This may be repeated in an iterative manner for each frame. In onecase, at an encoder, a current set of data and the contents of thebuffer may be compared, and a difference computed. At the decoder,temporal processing may comprise adding the contents of the buffer toreceived data to reconstruct residual or transformed residual data. Inthe present case, the value of the temporal refresh parameter 854 mayindicate to the decoder that data relating to a previous frame that isstored in the buffer is to be cleared. This may effectively indicatethat no temporal processing is to be applied (e.g. a value of 0 added toreceived data will not modify the received data). Temporal datacomprises data useable in temporal processing, for example data that isbased on multiple images. The bit-length of the value of the temporalrefresh parameter 854 may be one bit.

The set of image configuration parameters may comprise more, fewer ordifferent parameters than those described above with reference to FIG. 8.

The image configuration message 800 is output for a plurality of imagesin the set of images. In some examples, the number of images in theplurality of images is equal to the number of images in the set ofimages. In other words, the image configuration message 800 may beoutput for every image in the set of images. In other examples, thenumber of images in the plurality of images is less than the number ofimages in the set of images. The number of images in the plurality ofimages may be based on an optimization metric. The optimization metricmay be a rate-distortion metric.

Image set configuration message 700 and image configuration message 800may both be output for a given set of images. The number of times imageset configuration message 700 is output for the set of images is lessthan the number of times image configuration message 800 is output forthe set of images. For example image set configuration message 700 maybe output only once for the set of images, and image configurationmessage 800 may be output for every image in the set of images. As such,image configuration message 800 is output more frequently than image setconfiguration message 700.

Outputting image configuration message 800 relatively frequently usesmore data than outputting image configuration message 800 relativelyinfrequently. However, outputting image configuration message 800relatively frequently provides the decoder 110 with up-to-dateinformation that enables the decoder 110 to perform image reconstructionwith a high degree of accuracy and/or reliability. The set of imageconfiguration parameters stored in image configuration message 800 maychange between different images, for example. There is thus a trade-offbetween an amount of data that is transmitted to the decoder 110 and anaccuracy and/or reliability with which the decoder 110 can performreconstruction using the data that is received. For image setconfiguration message 700 and image configuration message 800, theoptimal outcome of such a trade-off is that image configuration message800 is sent more frequently than image set configuration message 700.Sending image set configuration parameters with a relatively lowfrequency and sending image configuration parameters with a relativelyhigh frequency may therefore reduce an amount of information that issent over a given period of time whilst enabling the decoder 110 toperform reconstruction with a predetermined level of accuracy and/orreliability.

Referring to FIG. 9 , there is shown schematically an example of aconfiguration message 900. The configuration message 900 may form partof configuration data 310. The configuration message 900 may begenerated by encoder 108. Some items depicted in FIG. 9 are similar toitems shown in FIG. 5 .

Corresponding reference signs, incremented by 400, have therefore beenused for similar items.

Configuration message 900 is a more specific example of configurationmessage 500. The configuration message 900 comprises a header part 910and a payload part 920. The header part 910 comprises a message typeparameter 912 and a payload size parameter 914. The payload part 920comprises a set of configuration parameters. The set of configurationparameters are related to processing of residual data 216. In someexamples, the configuration message 900 is an integer number of byteslong.

The message type of the configuration message 900 is an encoded datamessage. An encoded data message may correspond to a given image in aset of images. As such, a different encoded data message may begenerated and/or output for each image in the set of images.

The payload part 920 comprises a set of configuration parameters 950.The payload part 920 may also comprise data 960 based on the residualdata 216 for the given image. The data 960 based on the residual data216 may comprise the residual data 216 itself. In some examples, thedata 960 based on the residual data 216 comprises transformed residualdata. Transformed residual data comprises data that is the output of atransformation operation performed on the residual data 216. Thetransformation operation may be a directional decomposition operationthat exploits correlation between residual elements in the residual data216.

In some examples, the data 960 based on the residual data 216 comprisesencoded data. The encoded data may be encoded residual data or encodedtransformed residual data. The encoded data may be derived using one orboth of a run-length encoding operation and a Huffman encodingoperation. As described above, the residual data or the transformedresidual data may be quantised prior to encoding.

In some examples, the data 960 based on the residual data 216 is storedin one or more variable-length elements each comprising an integernumber of bytes, as described above.

In this example, the set of configuration parameters 950 indicateswhether the encoded data is derived using a Huffman encoding operation,a run-length encoding operation, or both. In some examples, the set ofconfiguration parameters 950 indicates whether or not the encoded datais output for the given image. In some examples, the set ofconfiguration parameters 950 relates to a size of the encoded data. Forexample, a configuration parameter may relate to a size of run-lengthencoded data and/or a size of Huffman encoded data.

The encoded data message 900 is output for a plurality of images in aset of images. In some examples, the number of images in the pluralityof images is equal to the number of images in the set of images. Inother words, the encoded data message 900 may be output for every imagein the set of images. In other examples, the number of images in theplurality of images is less than the number of images in the set ofimages. The number of images in the plurality of images may be based onan optimization metric. The optimization metric may be a rate-distortionmetric.

In some examples, the encoded data message 900 is generated and/oroutput selectively. Whether or not an encoded data message is generatedand/or output for a given image may depend on whether the input data 206for the given image is to be reconstructed using the residual data 216for the given image. Whether or not the input data 206 for the givenimage is to be reconstructed may be indicated by the residual useparameter 851 of the corresponding image configuration message 800 forthe given image. An amount of information that is transmitted may bereduced by outputting the encoded data message 900 selectively comparedto a case in which the encoded data message 900 is not selectivelyoutput.

Configuration messages generated by the encoder 108 may have othermessage types than those described above. Another example message typeis an encoder metadata message. An encoder metadata message comprisesmetadata relating to one or more encoder characteristics. Anotherexample message type is a decoder control message. A decoder controlmessage comprises instructions for controlling a decoder. A decodercontrol message may comprise a configuration parameter relating to imagedithering. Another example message type is a research message. Aresearch message comprises a custom payload for research purposes.

Referring to FIG. 10 , there is shown an example of a method 1000 ofprocessing configuration data. The method 1000 may be performed by anapparatus comprising an encoder such as the first apparatus 102described above.

At item 1010, for each image in a set of images, a representation of theimage at the relatively low level of quality is derived using a firstrepresentation of the image at the relatively high level of quality. Therepresentation at the relatively low level of quality is output forprocessing by the decoder 110.

At item 1020, residual data is output for one or more selected images inthe set of images. The residual data is useable to reconstruct the firstrepresentation using a second representation of the image at therelatively high level of quality, the second representation being basedon the representation of the image at a relatively low level of quality.The residual data is derived based on the first representation and thesecond representation.

In some examples, the one or more selected images comprises all of theimages in the set of images. In some examples, the one or more selectedimages are selected based on image content. For example, if the firstrepresentation of a first image contains a relatively large amount ofvisual detail, it may be determined that residual data for the firstimage is to be used and/or output to enable the first representation ofthe first image to be reconstructed. Contrastingly, if the firstrepresentation of a second image contains relatively little visualdetail, for example if the second image corresponds to a “black screen”,it may be determined that residual data for the second image is not tobe used and/or output. Using residual data to reconstruct the firstrepresentation of the second image may not substantially improve thedisplayed visual quality for the second image, due to the lack of visualdetail contained therein. Using and/or outputting residual dataselectively may reduce an amount of information that is transmittedand/or processed over a given period of time compared with notselectively using and/or outputting residual data.

At item 1030, configuration data is output for processing by the decoder110. The configuration data enables the decoder 110 to detect whetherthe first representation of a given image in the set of images is to bereconstructed using residual data for the given image. The given imagemay be comprised in the one or more selected images. The configurationdata may be output for each image in the set of images. Theconfiguration data may comprise image configuration message 800. Theconfiguration data may, for example comprise the residual use parameter851. In some examples, the configuration data comprises encoded datamessage 900.

In some examples, the number of times the configuration data is outputfor the set of images is less than the number of images in the set ofimages. The configuration data may correspond to multiple images in theset of images. The configuration data may comprise image setconfiguration message 700, for example. In some examples, the number oftimes the configuration data is output for the set of images is based onan optimization metric.

Referring to FIG. 11 , there is shown an example of a method 1100 foruse in processing representations of an image. The method 1100 may beperformed by the decoder 110 described above.

At item 1110, data is received that is useable to derive arepresentation of an image at the relatively low level of quality. Priorto receipt by the decoder 110, the representation at the relatively lowlevel of quality is derived by encoder 108 using a first representationof the image at the relatively high level of quality. In some examples,the image is one of a set of images. The set of images may be part of avideo signal. In some examples, the received data is processed to obtainthe representation at the relatively low level of quality. For example,the received data may be decoded to obtain the representation at therelatively low level of quality.

At item 1120, it is determined whether predetermined configuration datahas been received. The predetermined configuration data corresponds tothe image.

If it is determined at item 1120 that the predetermined configurationdata corresponding to the image has been received, the firstrepresentation of the image is reconstructed at item 1130. The firstrepresentation is reconstructed using the predetermined configurationdata. The first representation is reconstructed using a secondrepresentation of the image at the relatively high level of quality. Insome examples, the representation at the relatively low level of qualityis processed to derive the second representation. For example, thesecond representation may be derived by upsampling the representation atthe relatively low level of quality. The first representation may bereconstructed by combining the second representation with the residualdata.

At item 1135, the first representation is output. For example, the firstrepresentation may be output for display by a display device.

If it is determined at item 1120 that the predetermined configurationdata corresponding to the image has not been received, the firstrepresentation is not reconstructed. Instead, the representation at therelatively low level of quality is processed at item 1140 to derive thesecond representation. The second representation may be derived byupsampling the representation at the relatively low level of quality.

At item 1145, the second representation is output. For example, thesecond representation may be output for display by the display device.

In some examples, if it is determined that the predeterminedconfiguration data corresponding to the image has not been received, thesecond representation is not derived. For example, the representation atthe relatively low level of quality may be output instead of the secondrepresentation. In some examples, data based on the representation atthe relatively low level of quality is output. The data based on therepresentation at the relatively low level of quality is different fromthe first representation and the second representation.

In a case where the image is one of a set of images, the predeterminedconfiguration data may correspond to multiple images in the set ofimages. The predetermined configuration data may not be received withevery image in the set of images. In one example, the predeterminedconfiguration data is received with the first image only in the set ofimages. The predetermined configuration data may be applicable to everysubsequent image in the set of images. As such, if the first image inthe set of images is not received by the decoder 110, the predeterminedconfiguration data for the set of images may also not be received. Thepredetermined configuration data may be image set configuration data.The predetermined configuration data may comprise image setconfiguration message 700.

In a case where the set of images are part of a streamed video, thedecoder may enter the video stream partway through the set of images. Insuch a case, although the first representation is not reconstructed dueto the absence of receipt of the predetermined configuration data, arepresentation at the relatively high level of quality, namely thesecond representation, may still be output. Outputting the secondrepresentation for display reduces a potential loss in visual qualitycaused by the absence of receipt of the predetermined configuration datacompared to a case in which a representation at the relatively highlevel of quality is not output. Outputting the second representation maybe considered part of a “minimum operation mode”, in contrast tooutputting the first representation, which may be considered part of a“full operation mode”. In the case where the decoder 110 enters thevideo stream partway through the set of images, the “minimum operationmode” may be used for the remainder of the set of images. When the firstimage in a following set of images is then received, the predeterminedconfiguration data for the following set of images is also received. Assuch, the following set of images may be processed according to the“full operation mode”.

Referring to FIG. 12 , there is shown a schematic block diagram of anexample of an apparatus 1200.

In an example, the apparatus 1200 comprises an encoder. In anotherexample, the apparatus 1200 comprises a decoder.

Examples of apparatus 1200 include, but are not limited to, a mobilecomputer, a personal computer system, a wireless device, base station,phone device, desktop computer, laptop, notebook, netbook computer,mainframe computer system, handheld computer, workstation, networkcomputer, application server, storage device, a consumer electronicsdevice such as a camera, camcorder, mobile device, video game console,handheld video game device, or in general any type of computing orelectronic device.

In this example, the apparatus 1200 comprises one or more processors1201 configured to process information and/or instructions. The one ormore processors 1201 may comprise a central processing unit (CPU). Theone or more processors 1201 are coupled with a bus 1202. Operationsperformed by the one or more processors 1201 may be carried out byhardware and/or software. The one or more processors 1201 may comprisemultiple co-located processors or multiple disparately locatedprocessors.

In this example, the apparatus 1200 comprises computer-useable volatilememory 1203 configured to store information and/or instructions for theone or more processors 1201. The computer-useable volatile memory 1203is coupled with the bus 1202. The computer-useable volatile memory 1203may comprise random access memory (RAM).

In this example, the apparatus 1200 comprises computer-useablenon-volatile memory 1204 configured to store information and/orinstructions for the one or more processors 1201. The computer-useablenon-volatile memory 1204 is coupled with the bus 1202. Thecomputer-useable non-volatile memory 1204 may comprise read-only memory(ROM).

In this example, the apparatus 1200 comprises one or more data-storageunits 1205 configured to store information and/or instructions. The oneor more data-storage units 1205 are coupled with the bus 1202. The oneor more data-storage units 1205 may for example comprise a magnetic oroptical disk and disk drive or a solid-state drive (SSD).

In this example, the apparatus 1200 comprises one or more input/output(I/O) devices 1206 configured to communicate information to and/or fromthe one or more processors 1201. The one or more I/O devices 1206 arecoupled with the bus 1202. The one or more I/O devices 1206 may compriseat least one network interface. The at least one network interface mayenable the apparatus 1200 to communicate via one or more datacommunications networks. Examples of data communications networksinclude, but are not limited to, the Internet and a Local Area Network(LAN). The one or more I/O devices 1206 may enable a user to provideinput to the apparatus 1200 via one or more input devices (not shown).The one or more input devices may include for example a remote control,one or more physical buttons etc. The one or more I/O devices 1206 mayenable information to be provided to a user via one or more outputdevices (not shown). The one or more output devices may for exampleinclude a display screen.

Various other entities are depicted for the apparatus 1200. For example,when present, an operating system 1207, data signal processing module1208, one or more further modules 1209, and data 1210 are shown asresiding in one, or a combination, of the computer-usable volatilememory 1203, computer-usable non-volatile memory 1204 and the one ormore data-storage units 1205. The data signal processing module 1208 maybe implemented by way of computer program code stored in memorylocations within the computer-usable non-volatile memory 1204,computer-readable storage media within the one or more data-storageunits 1205 and/or other tangible computer-readable storage media.Examples of tangible computer-readable storage media include, but arenot limited to, an optical medium (e.g., CD-ROM, DVD-ROM or Blu-ray),flash memory card, floppy or hard disk or any other medium capable ofstoring computer-readable instructions such as firmware or microcode inat least one ROM or RAM or Programmable ROM (PROM) chips or as anApplication Specific Integrated Circuit (ASIC).

The apparatus 1200 may therefore comprise a data signal processingmodule 1208 which can be executed by the one or more processors 1201.The data signal processing module 1208 can be configured to includeinstructions to implement at least some of the operations describedherein. During operation, the one or more processors 1201 launch, run,execute, interpret or otherwise perform the instructions in the signalprocessing module 1208.

Although at least some aspects of the examples described herein withreference to the drawings comprise computer processes performed inprocessing systems or processors, examples described herein also extendto computer programs, for example computer programs on or in a carrier,adapted for putting the examples into practice. The carrier may be anyentity or device capable of carrying the program.

It will be appreciated that the apparatus 1200 may comprise more, fewerand/or different components from those depicted in FIG. 12 .

The apparatus 1200 may be located in a single location or may bedistributed in multiple locations. Such locations may be local orremote.

The techniques described herein may be implemented in software orhardware, or may be implemented using a combination of software andhardware. They may include configuring an apparatus to carry out and/orsupport any or all of techniques described herein.

Examples described herein relate to a syntax for the use ofconfiguration data relating to processing of residual data, the residualdata being useable in image reconstruction. The syntax provides aprocessing framework to enable an encoder to obtain and outputconfiguration data and to enable a decoder to receive and process theconfiguration data. The syntax framework facilitates the generation andprocessing of configuration messages such as those described above. Adecoder uses received configuration data to reconstruct representationsof images, for example that are part of a video stream, at a high levelof quality. The syntax framework described herein allows the decoder toperform such reconstruction with a relatively high degree of efficiency,reliability and accuracy.

The syntax framework described herein enables an overhead cost oftransmitted data to be reduced compared to some known systems. Thesyntax framework described herein may involve an overhead of at most 3bytes for a given image when residual data is not to be used toreconstruct the representation of the given image at the high level ofquality. When residual data is to be used to reconstruct therepresentation at the high level of quality, an overhead cost of at most43 bytes for the given image may be involved. This is in contrast tosome known systems, which may involve an overhead cost per image ofbetween 108 and 188 bytes. As such, an amount of information that isgenerated, stored, processed and/or transmitted over a given period oftime is significantly reduced through the use of the syntax frameworkdescribed herein.

It is to be understood that any feature described in relation to any oneembodiment may be used alone, or in combination with other featuresdescribed, and may also be used in combination with one or more featuresof any other of the embodiments, or any combination of any other of theembodiments. Furthermore, equivalents and modifications not describedabove may also be employed without departing from the scope of theinvention, which is defined in the accompanying claims.

1. (canceled)
 2. A method of processing configuration data, the methodcomprising: obtaining residual data based on a first representation ofan image at a first level of quality in a tiered hierarchy havingmultiple levels of quality and a second representation of the image atthe first level of quality, the second representation being based on arepresentation of the image at a second, lower level of quality in thetiered hierarchy, the residual data being useable by a decoder toreconstruct the first representation using the second representation;generating configuration data relating to processing of the residualdata, the configuration data being useable by the decoder to reconstructthe first representation, wherein the configuration data comprises aparameter presence indicator that specifies whether or not a given setof configuration parameters are comprised in a given part of theconfiguration data, wherein the given set of configuration parametershas a predetermined format; and outputting the configuration data forprocessing by the decoder to enable the decoder to reconstruct the firstrepresentation using the second representation and the residual data. 3.The method according to claim 2, wherein the given set of configurationparameters comprises a configuration parameter having a variablebit-length and that is stored in a variable-length element, thevariable-length element comprising at least one given byte having one ormore predetermined bits arranged to indicate whether or not thevariable-length element comprises one or more additional bytes to the atleast one given byte.
 4. The method according to claim 2, wherein thegiven set of configuration parameters comprises a configurationparameter relating to a resolution of the first representation of theimage.
 5. The method according to claim 2, wherein the parameterpresence indicator is comprised in a residual use parameter, wherein theresidual use parameter is useable by the decoder to detect whether ornot the first representation of the image is to be reconstructed usingthe residual data.
 6. The method according to claim 2, wherein the givenset of configuration parameters comprises quantization data indicativeof a quantization level of data useable by the decoder to reconstructthe first representation of the image.
 7. The method according to claim2, wherein the given set of configuration parameters comprises an imagetype parameter that specifies whether the first representation of theimage relates to a progressive or an interlaced video.
 8. The methodaccording to claim 2, wherein in a case where the first representationof the image relates to an interlaced video, the image type parameteralso specifies a field type.
 9. The method according to claim 2, whereinthe given set of configuration parameters comprises a version numberaccording to which the decoder is configured to operate.
 10. The methodaccording to claim 2, wherein the parameter presence indicator comprisesat least one predetermined bit in a predetermined byte of theconfiguration data.
 11. The method according to claim 2, the methodcomprising performing byte-wise processing on the configuration data.12. A method of processing configuration data, the method comprising:receiving configuration data relating to processing of residual data,the residual data having been obtained, for a given image in a set ofimages, based on a first representation of the image at a first level ofquality in a tiered hierarchy having multiple levels of quality and asecond representation of the image at the first level of quality, thesecond representation being based on a representation of the given imageat a second, lower level of quality in the tiered hierarchy, theresidual data being useable to reconstruct the first representationusing the second representation; and processing the configuration datato reconstruct, for the given image, the first representation using thesecond representation and the residual data, wherein the configurationdata comprises a parameter presence indicator that specifies whether ornot a given set of configuration parameters are comprised in a givenpart of the configuration data, the given set of configurationparameters having a predetermined format.
 13. The method according toclaim 12, wherein the given set of configuration parameters comprises aconfiguration parameter having a variable bit-length and that is storedin a variable-length element, the variable-length element comprising atleast one given byte having one or more predetermined bits arranged toindicate whether or not the variable-length element comprises one ormore additional bytes to the at least one given byte.
 14. The methodaccording to claim 12, wherein the given set of configuration parameterscomprises a configuration parameter relating to a resolution of thefirst representation of the image.
 15. The method according to claim 12,wherein the parameter presence indicator is comprised in a residual useparameter, wherein the residual use parameter is useable to detectwhether or not the first representation of the image is to bereconstructed using the residual data.
 16. The method according to claim12, wherein the given set of configuration parameters comprisesquantization data indicative of a quantization level of data useable bythe decoder to reconstruct the first representation of the image. 17.The method according to claim 12, wherein the given set of configurationparameters comprises an image type parameter that specifies whether thefirst representation of the image relates to a progressive or aninterlaced video.
 18. The method according to claim 12, wherein in acase where the first representation of the image relates to aninterlaced video, the image type parameter also specifies a field type.19. The method according to claim 12, wherein the given set ofconfiguration parameters comprises a version number.
 20. The methodaccording to claim 12, wherein the parameter presence indicatorcomprises at least one predetermined bit in a predetermined byte of theconfiguration data, the method comprising performing byte-wiseprocessing on the configuration data.
 21. An apparatus comprising: oneor more processors; non-transitory storage having stored thereoncomputer executable instructions that, when executed by the one or moreprocessors, cause the apparatus to perform the following: receiveconfiguration data relating to processing of residual data, the residualdata having been obtained, for a given image in a set of images, basedon a first representation of the image at a first level of quality in atiered hierarchy having multiple levels of quality and a secondrepresentation of the image at the first level of quality, the secondrepresentation being based on a representation of the given image at asecond, lower level of quality in the tiered hierarchy, the residualdata being useable to reconstruct the first representation using thesecond representation; and process the configuration data toreconstruct, for the given image, the first representation using thesecond representation and the residual data, wherein the configurationdata comprises a parameter presence indicator that specifies whether ornot a given set of configuration parameters are comprised in a givenpart of the configuration data, the given set of configurationparameters having a predetermined format.